﻿@model InspectResultEditModel
@{
    ViewBag.Title = "录入设备检测结果";
}
@section BodyNav
{
    > @Html.ActionLink("工程列表", "List", "Project") > 录入设备检测结果
}
@section JS
{
    <script src="@Url.Content("~/Scripts/projectInspectResult.js")" type="text/javascript"></script>
}
@using (Html.BeginForm())
{
    <table class="window">
        <tr class="head">
            <th colspan="2">
                录入设备检测结果
            </th>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(m => m.InspectDepartment)
            </th>
            <td>@Html.EditorFor(m => m.InspectDepartment)
            </td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(m => m.InspectTime)
            </th>
            <td>@Html.EditorFor(m => m.InspectTime)
            </td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(m => m.InspectResult)
            </th>
            <td>@Html.DropDownListFor(m => m.InspectResult, ViewBag.InspectResults as IList<SelectListItem>)
            </td>
        </tr>
        <tr>
            <td colspan="2">
                @Html.HiddenFor(m => m.Id)
                <input type="submit" value="提交" class="btnBtn" />
                @Html.ActionLink("返回列表", "List", "Project", null, new {@class="lnkBtn" })
            </td>
        </tr>
    </table>
}